package com.x.ant.model;

import com.x.framework.annotation.MappingColumn;
import com.x.framework.annotation.MappingTable;
import com.x.framework.model.BaseObject;

import java.util.Date;

@MappingTable(tableName = "ANT_BILL")
public class Bill extends BaseObject {
	@MappingColumn(columnName = "BILL_ID", columnPk = true, columnLength = 32)
	private String billId;

	@MappingColumn(columnName = "BILL_CODE")
	private String billCode;

//	@MappingColumn(columnName = "BILL_TRUCK_NUM")
//	private Integer billTruckNum;

	@MappingColumn(columnName = "BILL_STATE")
	private Integer billState;

	@MappingColumn(columnName = "BILL_CREATE_TIME")
	private Date billCreateTime;

	@MappingColumn(columnName = "TASK_ID")
	private String taskId;

	@MappingTable(tableName = "ANT_TASK")
	private Task task;

	@MappingColumn(columnName = "DEPT_ID")
	private String deptId;

	public String getBillId() {
		return billId;
	}

	public void setBillId(String billId) {
		this.billId = billId;
	}

	public String getBillCode() {
		return billCode;
	}

	public void setBillCode(String billCode) {
		this.billCode = billCode;
	}

//	public Integer getBillTruckNum() {
//		return billTruckNum;
//	}

//	public void setBillTruckNum(Integer billTruckNum) {
//		this.billTruckNum = billTruckNum;
//	}

	public Integer getBillState() {
		return billState;
	}

	public void setBillState(Integer billState) {
		this.billState = billState;
	}

	public Date getBillCreateTime() {
		return billCreateTime;
	}

	public void setBillCreateTime(Date billCreateTime) {
		this.billCreateTime = billCreateTime;
	}

	public String getTaskId() {
		return taskId;
	}

	public void setTaskId(String taskId) {
		this.taskId = taskId;
	}

	public Task getTask() {
		return task;
	}

	public void setTask(Task task) {
		this.task = task;
	}

	public String getDeptId() {
		return deptId;
	}

	public void setDeptId(String deptId) {
		this.deptId = deptId;
	}
}
